//
//  YYSocialMessageObject.m
//  YYSocial
//
//  Created by Cloud on 2018/9/18.
//  Copyright © 2018年 Cloud. All rights reserved.
//

#import "YYSocialMessageObject.h"

@implementation YYSocialMessageObject
/**
 * @param title 标题
 * @param descr 描述
 * @param imageUrl 缩略图（image_url）
 * @param linkUrl 链接地址（linkUrl）
 */
+ (YYSocialMessageObject *)shareObjectWithTitle:(NSString *)title
                                          descr:(NSString *)descr
                                       imageUrl:(NSString *)imageUrl
                                        linkUrl:(NSString *)linkUrl{
  YYSocialMessageObject *object = [YYSocialMessageObject new];
  object.title = title?title:@"";
  object.descr = descr?descr:@"";;
  object.imageUrl = imageUrl?imageUrl:@"";;
  object.linkUrl = linkUrl?linkUrl:@"";;
  return object;
}
@end
